package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

/**
 * @author diva
 * @date 2025/10/8 19:59
 * @ProjectName
 */

public interface CourseService {

    PageResult<Course> page(Integer subject, String name, Integer price, Integer target, String description, Integer page, Integer pageSize);

    void addCourse(Course course);

    Course getCourseById(Integer id);

    List<Course> selectAll();

    void deleteCourse(Integer id);

    void update(Course course);

    List<Course> getCourseBySubject(Integer subject);
}
